package application;

public class Application {

    public static void main(String[] args) {

        String s = "2+2+2";
        System.out.println("input expression: " + s);
        pString p = new pString(s);
        String post = p.stringToPostfix();
        System.out.println("postfix expression: " + post);
        Calculator c = new Calculator(post);
        c.calculate();
    }
}
